package com.jvyou.app.ds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jvyou.app.ds.domain.entity.Student;
import org.apache.ibatis.annotations.Select;

/**
 * 学员信息表(Student)表数据库访问层
 *
 * @author 橘柚
 * @since 2025-04-17 15:30:08
 */
public interface StudentMapper extends BaseMapper<Student> {

    @Select("select * from ds_student where user_id = #{userId}")
    Student getByUser(Long userId);
}
